FROM java:8-jre
MAINTAINER tangjialin <taogarfield@hotmail.com>

VOLUME ["/opt/chess/logs","/opt/chess/upload"]
CMD ["java", "-Xmx512m", "-jar", "/opt/chess/chess.jar"]
EXPOSE 8080

COPY ./chess.jar /opt/chess/
